projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
398de25
)
Properly close dep_feature_in_cmd_line test.
author
Juan Hernández
<juan.hernandez.babon@gmail.com>
Sat, 10 Sep 2016 21:25:23 +0000
(17:25 -0400)
committer
Juan Hernández
<juan.hernandez.babon@gmail.com>
Sat, 10 Sep 2016 21:25:23 +0000
(17:25 -0400)
It was including the test all_features_flag_enables_all_features
inside its function body.
tests/features.rs
patch
|
blob
|
history
diff --git
a/tests/features.rs
b/tests/features.rs
index a6921de381474b4202f170f464b7c8273415ac39..449e1f9c8c7ae7a0cb9fffb8dfcff1301dab2821 100644
(file)
--- a/
tests/features.rs
+++ b/
tests/features.rs
@@
-960,6
+960,7
@@
fn dep_feature_in_cmd_line() {
execs().with_status(101).with_stderr("\
[ERROR] feature names may not contain slashes: `bar/some-feat`
"));
+}
#[test]
fn all_features_flag_enables_all_features() {
@@
-1004,4
+1005,3
@@
fn all_features_flag_enables_all_features() {
assert_that(p.cargo_process("build").arg("--all-features"),
execs().with_status(0));
}
-}